package com.haitonghop.utils.sqllite.helper;
//package com.haibl.utils.sqllite.helper;
//
//import android.content.Context;
//import android.database.sqlite.SQLiteDatabase;
//import android.util.Log;
//
//public class SQLiteImageCachedHelper extends SQLLiteHelper {
//
//	public static final String TABLE_IMAGES = "imagesCached";
//	public static final String COLUMN_ID = "_id";
//	public static final String COLUMN_IMAGESPATH = "_imagePath";
//	public static final String COLUMN_TIMESTAMP = "_lastWriteable";	
//
//	// Database creation sql statement
//	private static final String DATABASE_CREATE = "create table "
//			+ TABLE_IMAGES + "(" + COLUMN_ID + " text primary key , "
//			+ COLUMN_IMAGESPATH + " text not null," 
//			+ COLUMN_TIMESTAMP + " text not null);";
//
//	public SQLiteImageCachedHelper(Context context) {
//		super(context);
//	}
//
//	@Override
//	public void onCreate(SQLiteDatabase database) {
//		database.execSQL(DATABASE_CREATE);
//	}
//
//	@Override
//	public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
//		Log.w(SQLiteImageCachedHelper.class.getName(),
//				"Upgrading database from version " + oldVersion + " to "
//						+ newVersion + ", which will destroy all old data");
//		db.execSQL("DROP TABLE IF EXISTS " + TABLE_IMAGES);
//		onCreate(db);
//	}
//
//}
